<?php
$page = 1;
$lang = $this->arrParam['lang'];
if(empty($lang)){
	$lang = 'vi';
}
else{
	$lang = $this->arrParam['lang'];
}
$foods	= $this->foods; 
?>

<div class="group-03 width-100 mar-top-20">
                        <div class="title">
                            <p>Món Ngon Trong Tuần</p>
                        </div>

                        <div class="box">
                            <div class="box-ctn">
                                 <div class="div2">
                                    <div id="mcts1">
                                        <?php 
                                 if(!empty($foods)){
                                 foreach($foods as $key	=> $val){
                                 	$id		= $val['id'];
                                 	$alt	= $val['alias'];
									$name	= $val['name'];
									$picture	= $val['picture'];
									$urlOptions = array('module'=>'news',
															'controller'=>'index',
															'action'=>'detail',
															'title'=>$alt,
															'id'=>$id,
															'lang'=>$lang);
									$link 	= $this->url($urlOptions,'products-detail');
                                 ?>
                                 <a href="<?php echo $link;?>" title="<?php echo $name;?>">
                                 	<img src="<?php echo FILES_URL.'/products/images450x450/'.$picture; ?>" /></a>
                                 <?php 
									}
								}?>
                                    </div>
                                </div>
                                 <div class="clear"></div>
                             </div>
                        </div>
                   </div>

<div class="clear"></div>                   